package com.site.wisdom_construction.entity.qualityModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-01-13 
 */
@ApiModel (value ="质量巡检记录表id",description = "QualityInspectionRecord")
public class QualityInspectionRecord {
	/**
	 * 质量巡检记录id
	 */
   	@ApiModelProperty(value = "质量巡检记录id", name = "id")
	private Integer id;

	/**
	 * 标段id
	 */
   	@ApiModelProperty(value = "标段id", name = "projectId")
	private Integer projectId;

	/**
	 * 巡检记录编号
	 */
   	@ApiModelProperty(value = "巡检记录编号", name = "recordNumber")
	private String recordNumber;

	/**
	 * 巡检路线
	 */
   	@ApiModelProperty(value = "巡检路线", name = "inspectionAddress")
	private String inspectionAddress;

	/**
	 * 巡检人
	 */
   	@ApiModelProperty(value = "巡检人", name = "inspectionPerson")
	private String inspectionPerson;

	/**
	 * 巡检内容
	 */
   	@ApiModelProperty(value = "巡检内容", name = "inspectionContent")
	private String inspectionContent;

	/**
	 * 巡检照片
	 */
   	@ApiModelProperty(value = "巡检照片", name = "inspectionImg")
	private String inspectionImg;

	/**
	 * 巡检时间
	 */
   	@ApiModelProperty(value = "巡检时间", name = "inspectionTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date inspectionTime;

	public QualityInspectionRecord(){ super(); }

	public QualityInspectionRecord(Integer id, Integer projectId, String recordNumber, String inspectionAddress, String inspectionPerson, String inspectionContent, String inspectionImg, Date inspectionTime) {
		this.id = id;
		this.projectId = projectId;
		this.recordNumber = recordNumber;
		this.inspectionAddress = inspectionAddress;
		this.inspectionPerson = inspectionPerson;
		this.inspectionContent = inspectionContent;
		this.inspectionImg = inspectionImg;
		this.inspectionTime = inspectionTime;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return this.projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getRecordNumber() {
		return this.recordNumber;
	}

	public void setRecordNumber(String recordNumber) {
		this.recordNumber = recordNumber;
	}

	public String getInspectionAddress() {
		return this.inspectionAddress;
	}

	public void setInspectionAddress(String inspectionAddress) {
		this.inspectionAddress = inspectionAddress;
	}

	public String getInspectionPerson() {
		return this.inspectionPerson;
	}

	public void setInspectionPerson(String inspectionPerson) {
		this.inspectionPerson = inspectionPerson;
	}

	public String getInspectionContent() {
		return this.inspectionContent;
	}

	public void setInspectionContent(String inspectionContent) {
		this.inspectionContent = inspectionContent;
	}

	public String getInspectionImg() {
		return this.inspectionImg;
	}

	public void setInspectionImg(String inspectionImg) {
		this.inspectionImg = inspectionImg;
	}

	public Date getInspectionTime() {
		return this.inspectionTime;
	}

	public void setInspectionTime(Date inspectionTime) {
		this.inspectionTime = inspectionTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id='" + id + '\'' +
				", projectId='" + projectId + '\'' +
				", recordNumber='" + recordNumber + '\'' +
				", inspectionAddress='" + inspectionAddress + '\'' +
				", inspectionPerson='" + inspectionPerson + '\'' +
				", inspectionContent='" + inspectionContent + '\'' +
				", inspectionImg='" + inspectionImg + '\'' +
				", inspectionTime='" + inspectionTime + '\'' +
				'}';
	}
}
